Repository navigation
Add AGENTS.md, shared .ai workflows, and security review skill - #5
Merged
Merged
Conversation
legit-ninja
requested review from
DavidRBanks,
adamhackl,
davidhulick and
etimmons
November 17, 2026 18:17
legit-ninja
force-pushed
the
feat/security-review
branch
from
November 17, 2026 21:01
141bd74 to
2ad9fee
Compare
DavidRBanks
approved these changes
Nov 17, 2026
Add AGENTS.md and a CLAUDE.md that imports it, with the project layout, commands, and conventions for AI agents and contributors. Document the library's threat model in docs/explanation/security-model.md, mapping each control to its code and tests, and add a register of deliberate allowances, held privileges, controls owned by callers, residual risks, and fixed findings in docs/reference/security-allowances.md. Add a tool-agnostic security review workflow in .ai/ with change and baseline modes, false-positive rules, an agent security policy, and a Claude Code skill that wraps them. The review reads the register, the security model, and its own instructions from the base ref, so a branch cannot pre-allow its own findings, and it always reports changes to the review policy, agent instructions, and CI. The skill pre-approves exact git commands only. Open findings stay in the gitignored local/ report until their fix ships; findings in upstream code are reported privately first. Signed-off-by: Jeremy Lee <jeremy.lee1664@gmail.com>
legit-ninja
force-pushed
the
feat/security-review
branch
from
November 17, 2026 21:15
2ad9fee to
d2003d9
Compare
adamhackl
reviewed
Nov 17, 2026
adamhackl
left a comment
There was a problem hiding this comment.
Do we intentionally want to replace the claude built-in security-review skill, or should we just augment that?
Author
@adamhackl Yes, this override is intentional. The default Claude security review has a number of built in exceptions and only covers basic security checks. |
adamhackl
approved these changes
Nov 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
AGENTS.md documents the project layout, CI commands, and conventions for any AI agent. The .ai directory holds tool-agnostic playbooks, starting with a security review tailored to this library's threat model. The Claude Code skill and CLAUDE.md wrap these shared files.